package com.prac.redis.controller;

import com.prac.redis.service.TransFail;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author hxg
 * @version 1.0
 * @date 2022/5/6 23:09
 */
@RestController
public class TestTrans {
    @Resource
    TransFail transFail;

    @RequestMapping("/testTrans")
    public void testA() {
        transFail.testA();
    }


}
